package com.ys.entity.base;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TB_UserPayApply", catalog="Id")
public class TbUserPayApply extends BaseEntity<TbUserPayApply> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="varchar")
	private String createChangeId;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="tinyint")
	private Integer effectStock;
	@YsField(nameDataBase="OrgId", nameJava="orgId", typeDataBase="varchar")
	private String orgId;
	@YsField(nameDataBase="WagesPay", nameJava="wagesPay", typeDataBase="decimal")
	private BigDecimal wagesPay;
	@YsField(nameDataBase="HealthCompany", nameJava="healthCompany", typeDataBase="decimal")
	private BigDecimal healthCompany;
	@YsField(nameDataBase="SocietyCompany", nameJava="societyCompany", typeDataBase="decimal")
	private BigDecimal societyCompany;
	@YsField(nameDataBase="AccumulationFundCompany", nameJava="accumulationFundCompany", typeDataBase="decimal")
	private BigDecimal accumulationFundCompany;
	@YsField(nameDataBase="NeedPaySlip", nameJava="needPaySlip", typeDataBase="decimal")
	private BigDecimal needPaySlip;
	@YsField(nameDataBase="PersonalTax", nameJava="personalTax", typeDataBase="decimal")
	private BigDecimal personalTax;
	@YsField(nameDataBase="RealityPaySlip", nameJava="realityPaySlip", typeDataBase="decimal")
	private BigDecimal realityPaySlip;
	@YsField(nameDataBase="PointMonth", nameJava="pointMonth", typeDataBase="char")
	private String pointMonth;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TbUserPayApply setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TbUserPayApply setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public String getCreateChangeId() {
		return createChangeId;
	}
	public TbUserPayApply setCreateChangeId(String createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TbUserPayApply setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public String getOrgId() {
		return orgId;
	}
	public TbUserPayApply setOrgId(String orgId) {
		this.orgId = orgId;
		return this;
	}
	public BigDecimal getWagesPay() {
		return wagesPay;
	}
	public TbUserPayApply setWagesPay(BigDecimal wagesPay) {
		this.wagesPay = wagesPay;
		return this;
	}
	public BigDecimal getHealthCompany() {
		return healthCompany;
	}
	public TbUserPayApply setHealthCompany(BigDecimal healthCompany) {
		this.healthCompany = healthCompany;
		return this;
	}
	public BigDecimal getSocietyCompany() {
		return societyCompany;
	}
	public TbUserPayApply setSocietyCompany(BigDecimal societyCompany) {
		this.societyCompany = societyCompany;
		return this;
	}
	public BigDecimal getAccumulationFundCompany() {
		return accumulationFundCompany;
	}
	public TbUserPayApply setAccumulationFundCompany(BigDecimal accumulationFundCompany) {
		this.accumulationFundCompany = accumulationFundCompany;
		return this;
	}
	public BigDecimal getNeedPaySlip() {
		return needPaySlip;
	}
	public TbUserPayApply setNeedPaySlip(BigDecimal needPaySlip) {
		this.needPaySlip = needPaySlip;
		return this;
	}
	public BigDecimal getPersonalTax() {
		return personalTax;
	}
	public TbUserPayApply setPersonalTax(BigDecimal personalTax) {
		this.personalTax = personalTax;
		return this;
	}
	public BigDecimal getRealityPaySlip() {
		return realityPaySlip;
	}
	public TbUserPayApply setRealityPaySlip(BigDecimal realityPaySlip) {
		this.realityPaySlip = realityPaySlip;
		return this;
	}
	public String getPointMonth() {
		return pointMonth;
	}
	public TbUserPayApply setPointMonth(String pointMonth) {
		this.pointMonth = pointMonth;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TbUserPayApply setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TbUserPayApply setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TbUserPayApply setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TbUserPayApply tbUserPayApply(
		String bid,
		String createChangeId,
		Integer effectStock,
		String orgId,
		BigDecimal wagesPay,
		BigDecimal healthCompany,
		BigDecimal societyCompany,
		BigDecimal accumulationFundCompany,
		BigDecimal needPaySlip,
		BigDecimal personalTax,
		BigDecimal realityPaySlip,
		String pointMonth,
		Integer status
			) {
		TbUserPayApply entity = new TbUserPayApply();
		entity.setBid(bid);
		entity.setCreateChangeId(createChangeId);
		entity.setEffectStock(effectStock);
		entity.setOrgId(orgId);
		entity.setWagesPay(wagesPay);
		entity.setHealthCompany(healthCompany);
		entity.setSocietyCompany(societyCompany);
		entity.setAccumulationFundCompany(accumulationFundCompany);
		entity.setNeedPaySlip(needPaySlip);
		entity.setPersonalTax(personalTax);
		entity.setRealityPaySlip(realityPaySlip);
		entity.setPointMonth(pointMonth);
		entity.setStatus(status);
		return entity;
	}
}